package com.xaicode.auth.security.domain.pojo;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UpdatePasswordBody {

    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    @NotBlank(message = "新密码不能为空")
    private String newPassword;

}
